<?php
namespace Home\Model;
use Think\Model;
class GoodsModel extends Model {
    	/**
    	 * [列表数据]
    	 * @Author   Axing
    	 * @DateTime 2017-09-07
    	 * @param    [array]     $arr [字段]
    	 * @return   [type]           [description]
    	 */
    	public function lists($arr) {
    		$data = $this->field($arr['field'])->where($arr['where_a'])->where($arr['where_b'])->order($arr['order'])->limit($arr['startcount'], $arr['pagecount'])->select();
    		
    		return $data;
    	}

    	public function xiaoliang() {
            
            // S('name',$value,array('expire'=>300));
    	}
	
}